package com.rain.persistence.product.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.rain.base.BaseDO;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author wu
 * @since 2021-03-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("product")
@ApiModel(value="ProductDO对象", description="")
public class ProductDO extends BaseDO {

    private static final long serialVersionUID=1L;

    @TableField("price")
    private Double price;

    @TableField("stock")
    private Integer stock;

    @TableField("last_update_time")
    private LocalDateTime lastUpdateTime;


}
